package com.wmh.baseservice.admin.service;

import com.wmh.baseservice.admin.pojo.AdRolePermissions;
import com.wmh.baseservice.common.mybatisplus.methods.CommonService;

import java.util.List;

/**
 * @author mmx generator
 * @since 2021-10-29
 */
public interface AdRolePermissionsService extends CommonService<AdRolePermissions> {

    /**
     * 分配权限
     */
    void setPer(Long id, List<AdRolePermissions> adRolePermissions);


    /**
     * 删除权限或角色
     */
    void delete(Long id,Integer type);

    /**
     * 修改
     */
    void updateInfo(AdRolePermissions adRolePermissions,String rawName);
}
